import React, { Component } from 'react'
import { withRouter } from 'react-router-dom'

class NavBar extends Component {
  render() {
    const {title} = this.props
    return (
        <div className='navbarBox'>
            <div className='navbar'>{title}</div>
        </div>
    )
  }
}
export default withRouter(NavBar)
